package org.magnerfuller.imtoolkit.server.session.medium;

import java.net.*;

import java.io.*;

public class SocketSessionMedium extends SessionMedium {

  protected Socket socket;

  public SocketSessionMedium(Socket socket) {
  	super();
    this.socket = socket;
  }
  
  public InputStream getInputStream() throws IOException {
  	return socket.getInputStream();
	}
	
	public OutputStream getOutputStream() throws IOException {
		return socket.getOutputStream();
	}
	
	public String getModuleName() {
	  return "socket";
	}

}
